<script>
import GrandChildCom from './GrandChildCom.vue';
    export default{
        components:{
            GrandChildCom
        },
        inject:["message"]
    }
</script>

<template>
    ChildCom
    <p>{{ message }}</p>
    <GrandChildCom></GrandChildCom>
</template>

<style scoped>
</style>